#include <iostream>
#include "modules/AssistModule/LogModule.h"
//#include "data_struct/base/TimeWorkBase/time/InExecution.h"
#include "modules/AssistModule/TextLog.h"

namespace behavior_controller
{
    void LogPub::FlushAll()
    {
        for (auto &logger : logsets_)
        {
            logger.second->Flush();
        }
    }

    // void LogPub::Clear()
    // {
    //     logsets_.clear();
    // }

    std::map<std::string, std::shared_ptr<LogSet>> LogPub::logsets_;

} // namespace behavior_controller